﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="job_edit.aspx.cs" Inherits="JMcms.Web.Plugin.Job.admin.job_edit" ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>招聘信息管理</title>
    <link href="../../../scripts/artdialog/ui-dialog.css" rel="stylesheet" type="text/css" />
    <link href="../../../<%=sysConfig.webmanagepath %>/skin/default/style.css" rel="stylesheet" type="text/css" />
    <link href="../../../css/pagination.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" charset="utf-8" src="../../../scripts/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="../../../scripts/jquery/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" src="../../../scripts/datepicker/WdatePicker.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../../scripts/webuploader/webuploader.min.js"></script>
	<script type="text/javascript" charset="utf-8" src="../../scripts/webuploader/webuploader.min.js"></script>
	<script type="text/javascript" charset="utf-8" src="../../../editor/ueditor.config.js"></script>
	<script type="text/javascript" charset="utf-8" src="../../../editor/ueditor.all.min.js"> </script>
	<script type="text/javascript" charset="utf-8" src="../../../editor/lang/zh-cn/zh-cn.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../../<%=sysConfig.webmanagepath %>/js/laymain.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../../<%=sysConfig.webmanagepath %>/js/common.js"></script>
    <script type="text/javascript">
        $(function () {
            //初始化表单验证
            $("#form1").initValidform();
                    //初始化编辑器
        $(".editor").each(function (i) {
            var objId = $(this).attr("id");
            if (objId != "undefined") {
                var editor = UE.getEditor(objId, {
                    serverUrl: '../../tools/upload_ajax.ashx',
                    initialFrameWidth: '100%',
                    initialFrameHeight: 350
                });
            }
        });
        $(".editor-mini").each(function (i) {
            var objId = $(this).attr("id");
            if (objId != "undefined") {
                var editorMini = UE.getEditor(objId, {
                    serverUrl: '../../tools/upload_ajax.ashx',
                    initialFrameWidth: '100%',
                    initialFrameHeight: 250,
                    toolbars: [[
                        'fullscreen', 'source', '|', 'undo', 'redo', '|',
                        'bold', 'italic', 'underline', 'strikethrough', 'removeformat', 'pasteplain', '|', 'forecolor', 'insertorderedlist', 'insertunorderedlist', '|',
                     'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|',
                     'link', 'unlink', 'anchor', '|',
                     'simpleupload', 'insertimage', 'scrawl', 'insertvideo'
                    ]]
                });
            }
        });

            //初始化上传控件
            //$(".upload-img").InitUploader({ filesize: "<%=sysConfig.imgsize %>", sendurl: "../../../tools/upload_ajax.ashx", swf: "../../../scripts/webuploader/uploader.swf", filetypes: "<%=sysConfig.fileextension %>" });
            $(".upload-video").InitUploader({ filesize: "<%=sysConfig.videosize %>", sendurl: "../../../tools/upload_ajax.ashx", swf: "../../../scripts/webuploader/uploader.swf", filetypes: "<%=sysConfig.videoextension %>" });
            $(".upload-album").InitUploader({ btntext: "批量上传", multiple: true, water: true, thumbnail: true, filesize: "<%=sysConfig.imgsize %>", sendurl: "../../../tools/upload_ajax.ashx", swf: "../../../scripts/webuploader/uploader.swf" });
        });

    </script>
</head>
<body class="mainbody">
    <form id="form1" runat="server">
        <!--导航栏-->
        <div class="location">
            <a href="job_edit.aspx?aid=" class="back"><i></i><span>返回列表页</span></a>
            <a href="../../../<%=sysConfig.webmanagepath %>/center.aspx" class="home"><i></i><span>首页</span></a> <i class="arrow"></i><span>插件管理</span> <i class="arrow"></i><span>招聘信息管理</span>
            <i class="arrow"></i><span>招聘信息</span> <i class="arrow"></i><span>编辑招聘信息</span>
        </div>
        <div class="line10">
        </div>
        <!--/导航栏-->
        <!--内容-->
        <div id="floatHead" class="content-tab-wrap">
            <div class="content-tab">
                <div class="content-tab-ul-wrap">
                    <ul>
                        <li><a class="selected" href="javascript:;">编辑招聘内容</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="tab-content">
            <dl>
                <dt>岗位名称</dt>
                <dd>
                    <asp:TextBox ID="txtJobTitle" runat="server" MaxLength="100" CssClass="input normal" datatype="*2-100" sucmsg=" " />
                    <span class="Validform_checktip">*填写岗位名称</span>
                </dd>
            </dl>
            <dl>
                <dt>工作经验</dt>
                <dd>
                    <div class="rule-single-select">
                        <asp:DropDownList ID="ddpExperience" runat="server" datatype="*" sucmsg=" ">
                            <asp:ListItem>不限</asp:ListItem>
                            <asp:ListItem>1年以上</asp:ListItem>
                            <asp:ListItem>2年以上</asp:ListItem>
                            <asp:ListItem>3年以上</asp:ListItem>
                            <asp:ListItem>4年以上</asp:ListItem>
                            <asp:ListItem>5年以上</asp:ListItem>
                            <asp:ListItem>6年以上</asp:ListItem>
                            <asp:ListItem>7年以上</asp:ListItem>
                            <asp:ListItem>8年以上</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </dd>
            </dl>
            <dl>
                <dt>薪资水平</dt>
                <dd>
                    <div>
                        <asp:TextBox ID="txtSalary" Text="面议" runat="server" MaxLength="100" CssClass="input normal" datatype="*2-100" sucmsg=" " />
                        <span class="Validform_checktip">*如：2300-4500</span>
                    </div>
                </dd>
            </dl>
            <dl>
                <dt>工作地点</dt>
                <dd>
                    <div>
                        <asp:TextBox ID="txtAddress" runat="server" MaxLength="255" CssClass="input normal" datatype="*2-100" sucmsg=" " />
                        <span class="Validform_checktip">*如：北京</span>
                    </div>
                </dd>
            </dl>
            <dl>
                <dt>学历</dt>
                <dd>
                    <div class="rule-single-select">
                        <asp:DropDownList ID="ddpEducation" runat="server" datatype="*" sucmsg=" ">
                            <asp:ListItem>不限</asp:ListItem>
                            <asp:ListItem>高中</asp:ListItem>
                            <asp:ListItem>中专</asp:ListItem>
                            <asp:ListItem>大专</asp:ListItem>
                            <asp:ListItem>本科</asp:ListItem>
                            <asp:ListItem>研究生</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </dd>
            </dl>
            <dl>
                <dt>是否结束</dt>
                <dd>
                    <div class="rule-multi-radio">
                        <asp:RadioButtonList ID="rblIsLock" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Selected="True" Value="0">正常</asp:ListItem>
                            <asp:ListItem Value="1">结束</asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                </dd>
            </dl>
            <dl>
                <dt>排序数字</dt>
                <dd>
                    <asp:TextBox ID="txtSortId" runat="server" CssClass="input small" datatype="n" sucmsg=" ">99</asp:TextBox>
                    <span class="Validform_checktip">*数字，越小越向前</span>
                </dd>
            </dl>
            <dl>
                <dt>发布时间</dt>
                <dd>
                    <asp:TextBox ID="txtAddTime" runat="server" CssClass="input rule-date-input" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" datatype="/^\d{4}\-\d{1,2}\-\d{1,2}$/" errormsg="请选择正确的日期" sucmsg=" " />
                    <span class="Validform_checktip">*发布该信息的日期</span>
                </dd>
            </dl>
            <dl>
                <dt>岗位描述：</dt>
                <dd>
                    <textarea id="txtDescription" class="editor" runat="server"></textarea>
                </dd>
            </dl>
        </div>
        <!--/内容-->
        <!--工具栏-->
        <div class="page-footer">
            <div class="btn-list">
                <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" OnClick="btnSubmit_Click" />
                <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />
            </div>
            <div class="clear">
            </div>
        </div>
        <!--/工具栏-->
    </form>
</body>
</html>
